<template>
  <div class="tabbaritem">
    <slot name="active_img"></slot>
    <slot name="img"></slot>
    <slot name="text"></slot>
  </div>
</template>

<script>
export default {
  name: "TabBarItem"
};
</script>

<style lang="less" scoped>
.tabbaritem {
  flex: 1;
  text-align: center;
  font-size: 12PX;
  img {
    width: 24PX;
    // vertical-align: middle;
  }
  span {
    display: block;
  }
}

.white {
  color: white;
}
</style>